import cookie from 'react-cookies'

export const setCookieToken = (token: string): void => {
    cookie.save('react-token', token)
}

export const getCookieToken = (): string | unknown => {
    return cookie.load('react-token')
}

export const removeCookieToken = (): void => {
    cookie.remove('react-token')
}
